package cn.glow.readingcloud.common.pojo;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author Glow
 * @Date 2023-04-16 20:45:34
 * @Description 用户喜好图书pojo
 * @Version 1.0
 */
@Data
public class UserLikeSee implements Serializable {

    private static final Long serialVersionUID = 1L;
    @TableId
    private Integer id;

    /**
     * 用户
     */
    private Integer userId;

    /**
     * 图书id
     */
    private String bookId;

    /**
     * 创建时间
     */
    @TableField( value = "create_time",fill = FieldFill.INSERT,updateStrategy = FieldStrategy.NEVER)
    private Date createTime;

}
